[package]
name = "bot_matrix"
version = "0.1.0"
authors = ["Orin Serimon <orin220444@protonmail.com>"]
edition = "2021"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
# dotenvy = "0.15.0"
log = "0.4"
dirs = "4"
pretty_env_logger = "0.4"
# typed-builder = {workspace = true}
anyhow = {workspace = true}
# futures = "*"
# regex = "1"
# once_cell = "*"
linkify = "0.9.0"
tokio-stream = {workspace = true}
urlexpand = {workspace = true} 
serde = {workspace = true}
reqwest = {workspace = true}
time = {workspace = true}
uuid = {workspace = true}
url = {workspace = true}
tokio = {workspace = true, features = ["macros", "process", "time", "sync"]}
# version = "0.2"
[dependencies.matrix-sdk]
version = "0.6"
git = "https://github.com/matrix-org/matrix-rust-sdk"
default-features = false
features = [
    "anyhow", 
    #"e2e-encryption", 
    # "image-proc", "image-rayon",
     "markdown",
      "sled", "rustls-tls"]
[dependencies.parser]
path = "../parser"
[dependencies.db]
path = "../db"
features = ["matrix"]




[profile.release]
lto = "thin"
strip = true
opt-level = "s"